local fulinghunqi = fk.CreateSkill {
  name = "fulinghunqi",
  tags = { Skill.Compulsory },
}

Fk:loadTranslationTable{
  ["fulinghunqi"] = "魂契",
  [":fulinghunqi"] = "持恒技，当梦势力角色使用牌时，你获得一点通灵点。",

  ["@tonglingdian"] = "通灵点",
}

local spec = {
  can_trigger = function(self, event, target, player, data)
    return
      player:hasSkill(fulinghunqi.name) and
      target.kingdom == "dream"
  end,
  on_use = function(self, event, target, player, data)
    player.room:addPlayerMark(player, "@tonglingdian")
  end,
}

fulinghunqi:addEffect(fk.CardUsing, spec)
-- 为技能添加在响应卡牌时的效果
fulinghunqi:addEffect(fk.CardResponding, spec)

return fulinghunqi